package cn.nexd.collector;

/**
 * Collector 的属性类.
 * Created by codingfish on 15/9/28.
 */
public class NexdCollector {


    public enum CollectorState {
        COLLECTOR_INTERRUPT_TYPE_PERMISSION_UNAVAILABLE,// 权限设置
        COLLECTOR_INTERRUPT_TYPE_COLLECTOR_UNAVAILABLE, // 不支持
        COLLECTOR_INTERRUPT_TYPE_COLLECTOR_STATE_UNAVAILABLE,// 状态不可用
        COLLECTOR_INTERRUPT_TYPE_CAN_NOT_ACCESS_DATA, // 被360中断
        COLLECTOR_FAILED_TYPE_NO_BEACON_FOUND,
        COLLECTOR_FAILED_TYPE_NO_WIFI_FOUND,
        COLLECTOR_INTERRUPT_TYPE_NO_WIFI_BEACON_FOUND


    }

    public static final int COLLECTOR_TASK_STOP_TYPE_PERMISSION_UNAVAILABLE = 0;
    public static final String COLLECTOR_TASK_STOP_MESSAGE_PERMISSION_UNAVAILABLE = "请检查权限设置";

    public static final int COLLECTOR_TASK_STOP_TYPE_COLLECTOR_UNAVAILABLE = 1;
    public static final String COLLECTOR_TASK_STOP_MESSAGE_COLLECTOR_UNAVAILABLE = "不支持该采集器类型";

    public static final int COLLECTOR_TASK_STOP_TYPE_COLLECTOR_STATE_UNAVAILABLE = 2;
    public static final String COLLECTOR_TASK_STOP_MESSAGG_COLLECTOR_STATE_UNAVAILABLE = "采集器当前状态为不可用";

    public static final int COLLECTOR_TASK_FAILED_TYPE_COLLECTOR_STATE_OPENNING = 3;
    public static final String COLLECTOR_TASK_FAILED_MESSAGG_COLLECTOR_STATE_OPENNING = "采集器正在开启";

    public static final int COLLECTOR_TASK_FAILED_TYPE_RESULT_NULL = 9;
    public static final String COLLECTOR_TASK_FAILED_MESSAGE_RESULT_NULL = "采集结果为空";

    // 360拦截
    public static final int COLLECTOR_TASK_STOP_TYPE_UNNATURE_ACCESS_DATA = 10;
    public static final String COLLECTOR_TASK_STOP_MESSAGE_UNNATURE_ACCESS_DATA = "安全(流氓)软件阻止SDK正常获取数据";


}
